﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectGroups.aspx.cs" Inherits="Portal.SelectGroups" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>选择组</title>
    <script src="js/jquery.js" type="text/javascript"></script>
    <script src="../../js/common.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
//        $().ready(function () {
//            //alert(request("Type"));
//            if (request("Type") == "81") {

//                $(":checkbox").click(function () {
//                    // alert($(this).val());
//                    $(":checkbox").each(function () {
//                        //  alert($(this).attr("checked"));
//                        $(this).removeAttr("checked");
//                    });
//                    $(this).attr("checked", "checked");
//                });
//            }
//        });
    </script>
</head>
<base target="_self" />
<body>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td>
                    <div style="width: 400px; height: 400px; overflow: scroll;">
                        <asp:TreeView ID="TvGroups" ShowCheckBoxes="All" ShowLines="true" runat="server" OnTreeNodeCheckChanged="TvGroups_TreeNodeCheckChanged">
                        </asp:TreeView>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnSure" runat="server" Text="确 定" OnClick="btnSure_Click" CssClass="btn btn-warning" />
                    <input type="button" id="btnClose" value="关闭" class="btn btn-warning" onclick="window.close();" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
